﻿using System;
using System.Windows.Input;

namespace DynamicVm
{
    public interface ICommandFactory
    {
        ICommand Command(Action execute, Func<bool> canExecute = null);
        ICommand Command<T>(Action<T> execute, Func<T, bool> canExecute = null);
    }
}
